import request1 from '@/utils/request1'
export async function userQuestionListService(page, pageSize, type, queryName, isChecked) {
  return await request1({
    method: 'GET',
    url: '/question/some',
    params: {
      page,
      pageSize,
      type,
      queryName,
      isChecked
    }
  })
}
export async function userOneQuestionService(questionId) {
  return await request1({
    method: 'GET',
    url: '/question',
    params: {
      questionId
    }
  })
}
export async function userSearchQuestionService(
  page,
  pageSize,
  queryName,
  queryUploader,
  isChecked
) {
  return await request1({
    method: 'GET',
    url: '/question/some',
    params: {
      page,
      pageSize,
      queryName,
      queryUploader,
      isChecked
    }
  })
}
